package com.belf.console.service;

import com.belf.console.domain.DataSyncConf;

import java.util.List;

/**
 * cdc 配置Service接口
 * 
 * @author belf
 * @date 2024-07-19
 */
public interface IDataSyncConfService 
{
    /**
     * 查询cdc 配置
     * 
     * @param id cdc 配置主键
     * @return cdc 配置
     */
    public DataSyncConf selectDataSyncConfById(Long id);

    /**
     * 查询cdc 配置列表
     * 
     * @param dataSyncConf cdc 配置
     * @return cdc 配置集合
     */
    public List<DataSyncConf> selectDataSyncConfList(DataSyncConf dataSyncConf);

    long selectDataCount(DataSyncConf dataSyncConf);

    /**
     * 新增cdc 配置
     * 
     * @param dataSyncConf cdc 配置
     * @return 结果
     */
    public int insertDataSyncConf(DataSyncConf dataSyncConf);

    /**
     * 修改cdc 配置
     * 
     * @param dataSyncConf cdc 配置
     * @return 结果
     */
    public int updateDataSyncConf(DataSyncConf dataSyncConf);

    /**
     * 批量删除cdc 配置
     * 
     * @param ids 需要删除的cdc 配置主键集合
     * @return 结果
     */
    public int deleteDataSyncConfByIds(Long[] ids);

    /**
     * 删除cdc 配置信息
     * 
     * @param id cdc 配置主键
     * @return 结果
     */
    public int deleteDataSyncConfById(Long id);


}
